package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.CourseOrder;
import cn.wolfcode.crm.domain.SystemDictionaryItem;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface CourseOrderMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CourseOrder record);

    CourseOrder selectByPrimaryKey(Long id);

    List<CourseOrder> selectAll();

    int updateByPrimaryKey(CourseOrder record);

    List<CourseOrder> list(QueryObject queryObject);

    List<SystemDictionaryItem> selectBysn(String sn);
}